package com.xiaobange.mapper;

import com.xiaobange.entity.Permission;
import com.xiaobange.entity.RolePermission;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author banji
* @description 针对表【sys_role_permission(角色权限关联表)】的数据库操作Mapper
* @createDate 2025-04-24 17:57:21
* @Entity com.xiaobange.entity.RolePermission
*/
public interface RolePermissionMapper extends BaseMapper<RolePermission> {

    List<String> selectPermissions(@Param("roleId") String roleId, @Param("userId") String userId);
}




